/*
 * <one line to give the program's name and a brief idea of what it does.>
 * Copyright (C) 2019
 *
 * This program is free software: you can redistribute it and/or modify
 * it under the terms of the GNU General Public License as published by
 * the Free Software Foundation, either version 3 of the License, or
 * (at your option) any later version.
 *
 * This program is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU General Public License for more details.
 *
 * You should have received a copy of the GNU General Public License
 * along with this program.  If not, see <http://www.gnu.org/licenses/>.
 */

#ifndef ENUM_H
#define ENUM_H

/**
 * \file commonenum.hpp 
 * \brief contains enums for stucts, classes, arrays
 * \todo TODO
 */

/**
 * \enum tableSize
 * \brief count for some params
 * 
 * This is const values for array sizes using for calculation
 */
enum tableSize : unsigned {
	// NOTE do not forget +1, its include 0 level
	upgrade = 250,
	upgradeCount = 12,
	drone = 26,
	ai = 999,
	trophy = 101
};

/**
 * \enum droneType
 * \brief List of drone types
 * 
 * This is full list of drone type
 */
enum class droneType : unsigned {
	CONTROLLER = 1,											/**< invert attack order */
	DEAD,													/**< increase attack for every dead ship */
	LEECH,													/**< convert part of damage to hp */
	REFLECTOR,												/**< reflect part of damage to attacker */
	REGEN,													/**< regenerate hp every turn */
	SHIELD_ABSORBTION,										/**< increase shield adsorbtion */
	SHIELD_PENETRATION,										/**< increase shield penetration */
};

/**
 * \enum partType
 * \brief List of ship parts
 * 
 * This is list of ship part types
 */
enum class upgradeType : unsigned {
	WEAPON = 1,												/**< increase ship damage */
	HULL,													/**< increase ship hp */
	REACTOR,												/**< increase ship shield */
	WINGS													/**< increase ship speed */
};


#endif // ENUM_H
